= paginate @users
table.table.table-inverse.table-striped.table-bordered.table-hover
  thead
    tr
      th 用户名
      th 身份证号码
      th 租房
      th 房间号
      th 楼栋号
      th 小区名
      th 电话
      th 极光推送ID
      th 上传头像
  tbody
    - @users.each do |user|
      tr
        td = user.name
        td = user.id_card
        td = user.state ? '是' : '否'
        td = user.floor_code
        td = user.building.code
        td = user.village.name
        td = user.telephone
        td = user.registration_id
        td = link_to '修改', edit_user_path(user), class: "btn btn-warning btn-xs"
